public class Yushu extends Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace| Constructor and Description |
|---|
Yushu() |
| Modifier and Type | Method and Description |
|---|---|
double |
averLastTResT(int length) |
double |
averResT() |
Action |
chooseAction()
this function is called after ReceiveMessage,
with an Offer-action.
|
java.lang.String |
getName() |
double |
getTargetUtility() |
static java.lang.String |
getVersion() |
void |
init()
This method is called by the protocol every time before starting a new
session after the internalInit method is called.
|
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did
|
void |
updateBelief(Bid opponentBid,
double uti) |
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleeppublic void init()
Agentpublic static java.lang.String getVersion()
public java.lang.String getName()
public void ReceiveMessage(Action opponentAction)
AgentReceiveMessage in class Agentpublic Action chooseAction()
AgentchooseAction in class Agentpublic double getTargetUtility()
public void updateBelief(Bid opponentBid, double uti)
public double averResT()
public double averLastTResT(int length)